package com.sunflower.bath.controller;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import com.sunflower.bath.service.IJobExecutionService;
import com.sunflower.bath.service.IJobNeedExecutService;
import com.sunflower.bath.service.IJobTimerService;

@Controller
@RequestMapping(value = "jobtest")
public class JobTestController {
	private final Logger logger = LoggerFactory.getLogger(getClass());
	@Autowired
	public IJobTimerService jobTimerService;
	@Autowired
	public IJobExecutionService jobExecutionService;
	@Autowired
	public IJobNeedExecutService jobNeedExecutService;
	
	@RequestMapping(value = "/exe", method = { RequestMethod.GET })
	public String exe(ModelMap map, HttpServletRequest request,HttpServletResponse response) {
		return "index";
	}
}
